/*
 * Copyright (c) 2006-2021, RT-Thread Development Team
 *
 * SPDX-License-Identifier: Apache-2.0
 *
 * Change Logs:
 * Date           Author       Notes
 * 2018-11-06     SummerGift   first version
 */

#include <rtthread.h>
#include <rtdevice.h>
#include <board.h>

extern long list_thread(void);

int main(void)
{
    while (1)
    {
        uint8_t version[3] = {1, 0, 0};
        rt_kprintf("Firmware Version: V%d.%d.%d\n", version[0], version[1], version[2]);
        rt_kprintf("Firmware compile time:%s %s\n", __DATE__, __TIME__);
        list_thread();
        rt_thread_mdelay(5000);
    }
}
